<!--
 * @Description: 
 * @Date: 2023-12-20 14:44:03
 * @LastEditTime: 2023-12-20 15:36:08
-->
<template>
  <div class="dbxxFigure">
    <!-- <div>任免登记</div> -->
    <el-row :gutter="4" style="padding: 10px;">
      <el-form ref="elForm" :model="formData" :rules="rules" size="small" label-width="107px" label-position="left" :border="true">
        <el-col style="padding: 10px;">
          <el-form-item>
            <el-button class="tabs">返回</el-button>
          </el-form-item>
        </el-col>
        <!-- :labelStyle="{width: '123px'}" :contentStyle="{width:'42%'}" -->
        <div class="content">
            <el-descriptions :column="3" border size="mini" style="width:70%;margin-top: 10px;margin-right:50px;" :labelStyle="{width: '120px'}">
          <el-descriptions-item  label="审议议题" :span="3">
            <div>审议议题审议议题审议议题审议议题审议议题审议议题</div>
          </el-descriptions-item>
          <el-descriptions-item label="议题类型" >
            <div>议题类型</div>
          </el-descriptions-item>
          <!--  -->
          <el-descriptions-item label="选择工委">
            <div>选择工委</div>
          </el-descriptions-item>
          <el-descriptions-item label="申请日期">
            <div>2023-12-30</div>
          </el-descriptions-item>
          <!--  -->
          <el-descriptions-item label="议题内容" :span="3">
            <el-input type="textarea" v-model="formData.desc" readonly></el-input>
          </el-descriptions-item>
          <!--  -->
          <el-descriptions-item label="附件信息" :span="3">
            <div>附件信息.pdf</div>
          </el-descriptions-item>

        </el-descriptions>
        <div style="height: 300px;">
        <el-steps direction="vertical" :active="5">
            <el-step title="起草">
                <template slot="description">
                    <div>2023-04-12 13:00</div>
                    <div>用户名</div>
                </template>
            </el-step>
            <el-step title="工委审核">
                <template slot="description">
                    <div>2023-04-12 13:00</div>
                    <div>用户名</div>
                    <div>审批结果：驳回</div>
                    <div>驳回理由：信息错误</div>
                </template>
            </el-step>
            <el-step title="主任会讨论">
                <template slot="description">
                    <div>2023-04-12 13:00</div>
                    <div>用户名</div>
                    <div>审批结果：同意</div>
                </template>
            </el-step>
            <el-step title="常委会审议">
                <template slot="description">
                    <div>2023-04-12 13:00</div>
                    <div>用户名</div>
                    <div>审批结果：同意</div>
                </template>
            </el-step>
            <el-step title="完成"></el-step>
        </el-steps>
        </div>

        </div>
        

        
      </el-form>
    </el-row>

  </div>
</template>

<script>
import axios from "axios";
// style="flex: 1; background: red"
export default {
  components: {},
  props: [],
  data() {
    return {
      formData: {
        field102: '',
        field103: '',
        field104: '',
        field105: '',
        field107: '',
        field108: '',
        field109:'',
        field110:'',
        desc:'内容'
      },
      showType:'type1',
      rules: {
        field102: [{
          required: true,
          message: '请选择下拉选择',
          trigger: 'change'
        }],
        field103: [{
          required: true,
          message: '请输入单行文本',
          trigger: 'blur'
        }],
        field104: [],
        field105: [{
          required: true,
          message: '请选择提请任免部门',
          trigger: 'change'
        }],
        field107: [{
          required: true,
          message: '请选择日期选择',
          trigger: 'change'
        }],
      },
      field102Options: [{
        "label": "选项一",
        "value": 1
      }, {
        "label": "选项二",
        "value": 2
      }],
      field105Options: [{
        "label": "选项一",
        "value": 1
      }, {
        "label": "选项二",
        "value": 2
      }],
      radio:1
    }
  },
  computed: {},
  watch: {},
  created() { },
  mounted() { },
  methods: {
    submitForm() {
      this.$refs['elForm'].validate(valid => {
        if (!valid) return
        // TODO 提交表单
      })
    },
    resetForm() {
      this.$refs['elForm'].resetFields()
    },
    changeType(v) {
      this.showType = v
    }
  }
}

</script>

<style lang="scss" scoped>
.tabs {
  margin-left: 10px;
  width: 150px;
}
.fujian{
  display: flex;
  align-content: center;
  justify-content: space-between;
}
.content{
    width: 100%;
    display: flex;
}
</style>
